import com.github.javaparser.StaticJavaParser;

import java.io.File;

public class DocIT {
    public static void main(String[] args) {
        if (args.length != 1) {
            System.out.println("usage: inputFile (.java)");
            System.exit(1);
        }

        String filePath = args[0];

        try {
            StaticJavaParser.parse(new File(filePath));
        } catch (Exception ex) {
            System.err.println(ex);
            System.exit(1);
        }

        System.exit(0);
    }
}
